﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="AddNewTravelInsurance.aspx.cs" Inherits="Admin_travel_insurance_AddTravelInsurance"
    MaintainScrollPositionOnPostback="true" Title="Add Travel Insurance - ComparExpress Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="scriptManager" runat="server">
    </asp:ScriptManager>
    <div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>Add Travel Insurance Info</h1>
                    <asp:Label ID="lblTAId" runat="server" Visible="false" Text="0"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 30%";>
                    Company/Provider Name
                </td>
                <td>
                    <asp:DropDownList ID="ddlProviderCompanyName" runat="server" AutoPostBack="false"
                        Width="250px">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvProviderCompanyName" runat="server" ErrorMessage="*"
                        ControlToValidate="ddlProviderCompanyName" InitialValue="-1"></asp:RequiredFieldValidator>
                </td>
                <%-- <tr>
                    <td>
                        Trip Type
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTripType" runat="server" class="text" Width="250px">
                            <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                            <asp:ListItem Value="S">Single Trip</asp:ListItem>
                            <asp:ListItem Value="A">Annual Multi-Trip</asp:ListItem>
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvTripType" runat="server" ErrorMessage="*" ControlToValidate="ddlTripType"
                            InitialValue="-1"></asp:RequiredFieldValidator>
                    </td>
                </tr>--%>
            </tr>
            <tr>
                <td>
                    Policy/Plan Type
                </td>
                <td>
                    <asp:DropDownList ID="ddlPolicyType" runat="server" class="text" Width="250px">
                        <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="Individual">Individual</asp:ListItem>
                        <asp:ListItem Value="IndividualSpouse">Individual + Spouse</asp:ListItem>
                        <asp:ListItem Value="Family">Family</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvPolicyType" runat="server" ErrorMessage="*" ControlToValidate="ddlPolicyType"
                        InitialValue="-1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Level of Coverage
                </td>
                <td>
                    <asp:DropDownList ID="ddlLevelOfCoverage" runat="server" class="text" Width="250px">
                        <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="STD">Standard Cover</asp:ListItem>
                        <asp:ListItem Value="MED">Medium Cover</asp:ListItem>
                        <asp:ListItem Value="HGH">High Cover</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvLevelOfCoverage" runat="server" ErrorMessage="*"
                        ControlToValidate="ddlLevelOfCoverage" InitialValue="-1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Plan Name
                </td>
                <td>
                    <asp:TextBox ID="txtPlanName" runat="server" MaxLength="150" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPlanName" runat="server" ControlToValidate="txtPlanName"
                        ErrorMessage="Require Plan Name.">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Adult <70 years old
                </td>
                <td>
                    <asp:TextBox ID="txtAdultLess70" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAdultLess70" runat="server" ControlToValidate="txtAdultLess70"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revAdultLess70" runat="server" ControlToValidate="txtAdultLess70"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Adult 70 years old & above
                </td>
                <td>
                    <asp:TextBox ID="txtAdultAbove70" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAdultAbove70" runat="server" ControlToValidate="txtAdultAbove70"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revAdultAbove70" runat="server" ControlToValidate="txtAdultAbove70"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Death from Public Transportation
                </td>
                <td>
                    <asp:TextBox ID="txtDFPT" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvDFPT" runat="server" ControlToValidate="txtDFPT"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revDFPT" runat="server" ControlToValidate="txtDFPT"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Bereavement
                </td>
                <td>
                    <asp:TextBox ID="txtBereavement" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvBereavement" runat="server" ControlToValidate="txtBereavement"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revBereavement" runat="server" ControlToValidate="txtBereavement"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Medical Expenses <70 years old
                </td>
                <td>
                    <asp:TextBox ID="txtMedExpLess70" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMedExpLess70" runat="server" ControlToValidate="txtMedExpLess70"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revMedExpLess70" runat="server" ControlToValidate="txtMedExpLess70"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Medical Expenses 70 years old & above
                </td>
                <td>
                    <asp:TextBox ID="txtMedExpAbove70" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMedExpAbove70" runat="server" ControlToValidate="txtMedExpAbove70"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revMedExpAbove70" runat="server" ControlToValidate="txtMedExpAbove70"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Emergency Medical Evacuation
                </td>
                <td>
                    <asp:TextBox ID="txtEmergencyMed" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvEmergencyMed" runat="server" ControlToValidate="txtEmergencyMed"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revEmergencyMed" runat="server" ControlToValidate="txtEmergencyMed"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Hospital Income
                </td>
                <td>
                    <asp:TextBox ID="txtHospitalInc" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvHospitalInc" runat="server" ControlToValidate="txtHospitalInc"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revHospitalInc" runat="server" ControlToValidate="txtHospitalInc"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Burial, Cremation & Repatriation
                </td>
                <td>
                    <asp:TextBox ID="txtBurial" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvBurial" runat="server" ControlToValidate="txtBurial"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revBurial" runat="server" ControlToValidate="txtBurial"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Compassionate Visit
                </td>
                <td>
                    <asp:TextBox ID="txtCompassionVisit" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCompassionVisit" runat="server" ControlToValidate="txtCompassionVisit"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCompassionVisit" runat="server" ControlToValidate="txtCompassionVisit"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Child Care
                </td>
                <td>
                    <asp:TextBox ID="txtChildCare" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvChildCare" runat="server" ControlToValidate="txtChildCare"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revChildCare" runat="server" ControlToValidate="txtChildCare"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Personal Liability
                </td>
                <td>
                    <asp:TextBox ID="txtPersonalLiability" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPersonalLiability" runat="server" ControlToValidate="txtPersonalLiability"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revPersonalLiability" runat="server" ControlToValidate="txtPersonalLiability"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Legal Expenses for Wrongful Arrest & Defamation
                </td>
                <td>
                    <asp:TextBox ID="txtLEGWAD" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvLEGWAD" runat="server" ControlToValidate="txtLEGWAD"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revLEGWAD" runat="server" ControlToValidate="txtLEGWAD"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Baggage & Personal Effect
                </td>
                <td>
                    <asp:TextBox ID="txtBaggagePerEffect" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvBaggagePerEffect" runat="server" ControlToValidate="txtBaggagePerEffect"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revBaggagePerEffect" runat="server" ControlToValidate="txtBaggagePerEffect"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Baggage Delay
                </td>
                <td>
                    <asp:TextBox ID="txtBaggageDelay" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvBaggageDelay" runat="server" ControlToValidate="txtBaggageDelay"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revBaggageDelay" runat="server" ControlToValidate="txtBaggageDelay"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Travel Documents
                </td>
                <td>
                    <asp:TextBox ID="txtTravelDoc" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTravelDoc" runat="server" ControlToValidate="txtTravelDoc"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revTravelDoc" runat="server" ControlToValidate="txtTravelDoc"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Deposit & Trip Cancellation
                </td>
                <td>
                    <asp:TextBox ID="txtDepositTripCancel" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvDepositTripCancel" runat="server" ControlToValidate="txtDepositTripCancel"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revDepositTripCancel" runat="server" ControlToValidate="txtDepositTripCancel"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Curtailment
                </td>
                <td>
                    <asp:TextBox ID="txtCurtailment" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCurtailment" runat="server" ControlToValidate="txtCurtailment"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCurtailment" runat="server" ControlToValidate="txtCurtailment"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Travel Delay
                </td>
                <td>
                    <asp:TextBox ID="txtTravelDelay" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTravelDelay" runat="server" ControlToValidate="txtTravelDelay"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revtravelDelay" runat="server" ControlToValidate="txtTravelDelay"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Missed Travel Connection
                </td>
                <td>
                    <asp:TextBox ID="txtMissedTravelConn" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvMissedTravelConn" runat="server" ControlToValidate="txtMissedTravelConn"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revMissedTravelConn" runat="server" ControlToValidate="txtMissedTravelConn"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Travel Overbooked
                </td>
                <td>
                    <asp:TextBox ID="txtTravelOverbooked" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTravelOverbooked" runat="server" ControlToValidate="txtTravelOverbooked"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revTravelOverbooked" runat="server" ControlToValidate="txtTravelOverbooked"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Personal Money
                </td>
                <td>
                    <asp:TextBox ID="txtPersonalMoney" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPersonalMoney" runat="server" ControlToValidate="txtPersonalMoney"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="reversonalMoney" runat="server" ControlToValidate="txtPersonalMoney"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Credit Card Lost & Fraud
                </td>
                <td>
                    <asp:TextBox ID="txtCCLostFraud" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCCLostFraud" runat="server" ControlToValidate="txtCCLostFraud"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revCCLostFraud" runat="server" ControlToValidate="txtCCLostFraud"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Fire or Burglary Home Contents Protection
                </td>
                <td>
                    <asp:TextBox ID="txtFBHCP" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvFBHCP" runat="server" ControlToValidate="txtFBHCP"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revFBHCP" runat="server" ControlToValidate="txtFBHCP"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Additional Cost of Rental Car Return
                </td>
                <td>
                    <asp:TextBox ID="txtAddCRCR" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvAddCRCR" runat="server" ControlToValidate="txtAddCRCR"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revAddCRCR" runat="server" ControlToValidate="txtAddCRCR"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Terrorism & Hijacking
                </td>
                <td>
                    <asp:TextBox ID="txtTerrorism" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTerrorism" runat="server" ControlToValidate="txtTerrorism"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revTerrorism" runat="server" ControlToValidate="txtTerrorism"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Kidnap/Hostage
                </td>
                <td>
                    <asp:TextBox ID="txtKidnap" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvKidnap" runat="server" ControlToValidate="txtKidnap"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revKidnap" runat="server" ControlToValidate="txtKidnap"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Emergency Telephone Charges
                </td>
                <td>
                    <asp:TextBox ID="txtEmergencyTelCharges" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvEmergencyTelCharges" runat="server" ControlToValidate="txtEmergencyTelCharges"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revEmergencyTelCharges" runat="server" ControlToValidate="txtEmergencyTelCharges"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Domestic Maid's Personal Baggage
                </td>
                <td>
                    <asp:TextBox ID="txtDomesticMaid" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvtxtDomesticMaid" runat="server" ControlToValidate="txtDomesticMaid"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revDomesticMaid" runat="server" ControlToValidate="txtDomesticMaid"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Wedding Apparels & Accessories
                </td>
                <td>
                    <asp:TextBox ID="txtWeddingApps" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvWeddingApps" runat="server" ControlToValidate="txtWeddingApps"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revWeddingApps" runat="server" ControlToValidate="txtWeddingApps"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Golfer
                </td>
                <td>
                    <asp:TextBox ID="txtGolfer" runat="server" MaxLength="20" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvGolfer" runat="server" ControlToValidate="txtGolfer"
                        ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="revGolfer" runat="server" ControlToValidate="txtGolfer"
                        ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Status
                </td>
                <td>
                    <asp:CheckBox ID="chkTAStatus" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                    <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <p>
                        <asp:Button ID="btnSubmit" runat="server" Text="Submit" Width="80px" OnClientClick="javascript:if(Page_IsValid) return confirm('Are you sure to save record?');"
                            OnClick="btnSubmit_Click" CssClass="btn blue" />&nbsp;
                        <asp:Button ID="btnClear" runat="server" Text="Clear" Width="80px" OnClientClick=" return confirm('Are you sure to clear form to create now?');"
                            OnClick="btnClear_Click" CssClass="btn blue" />&nbsp;
                        <asp:Button ID="btnBack" runat="server" Text="Back" Width="80px" OnClick="btnBack_Click"
                            CausesValidation="false" CssClass="btn blue" />
                    </p>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:LinkButton ID="lnkSummary" runat="server" Text="View Summary" CausesValidation="false"
                        OnClick="lnkSummary_OnClick"></asp:LinkButton>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Panel ID="pnlSummary" runat="server" Visible="false">
                        <div style="overflow: auto; width: 600px; height: 160px; display: block; float: left;">
                            <asp:GridView ID="grvDetailsSummary" runat="server" AutoGenerateColumns="false" Width="800px"
                                EmptyDataText="Save Travel Insurance to View.">
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Size="X-Small" Font-Names="Verdana" />
                                <Columns>
                                    <asp:BoundField DataField="InsurerName" HeaderText="Company Name" />
                                    <asp:BoundField DataField="PlanName" HeaderText="Plan Name" />
                                    <asp:BoundField DataField="PlanType" HeaderText="Plan Type" />
                                    <asp:BoundField DataField="TripType" HeaderText="Trip Type" />
                                    <asp:BoundField DataField="CoverageLevel" HeaderText="Level of Coverage" />
                                    <asp:BoundField DataField="DTPD_LessYr70" HeaderText="Adult <70 yrs old" />
                                    <asp:BoundField DataField="DTPD_AboveYr70" HeaderText="Adult 70 yrs old above" />
                                    <asp:BoundField DataField="DeathPubTrans" HeaderText="Death from Public Transportation" />
                                    <asp:BoundField DataField="Bereavement" HeaderText="Bereavement" />
                                    <asp:BoundField DataField="MedExp_LessYr70" HeaderText="Medical Expenses <70 yrs old " />
                                    <asp:BoundField DataField="MedExp_AboveYr70" HeaderText="Medical Expenses 70 yrs old above" />
                                    <asp:BoundField DataField="EmMedEval" HeaderText="Emergency Medical Evacuation " />
                                    <asp:BoundField DataField="HospIncome" HeaderText="Hospital Income" />
                                    <asp:BoundField DataField="BCR" HeaderText="Burial, Cremation & Repatriation " />
                                    <asp:BoundField DataField="CompassVisit" HeaderText="Compassionate Visit" />
                                    <asp:BoundField DataField="ChildCare" HeaderText="Child Care" />
                                    <asp:BoundField DataField="PersonalLiability" HeaderText="Personal Liability " />
                                    <asp:BoundField DataField="LEWAD" HeaderText="Legal Expenses for Wrongful Arrest & Defamation" />
                                    <asp:BoundField DataField="BagPerEffect" HeaderText="Baggage & Personal Effect" />
                                    <asp:BoundField DataField="BagDelay" HeaderText="Baggage Delay " />
                                    <asp:BoundField DataField="TravelDoc" HeaderText="Travel Documents" />
                                    <asp:BoundField DataField="DepositTripCancel" HeaderText="Deposit & Trip Cancellation " />
                                    <asp:BoundField DataField="Curtailment" HeaderText="Curtailment" />
                                    <asp:BoundField DataField="TravelDelay" HeaderText="Travel Delay " />
                                    <asp:BoundField DataField="MissTravelConnection" HeaderText="Missed Travel Connection " />
                                    <asp:BoundField DataField="TravelOverBook" HeaderText="Travel Overbooked " />
                                    <asp:BoundField DataField="PersonalMoney" HeaderText="Personal Money " />
                                    <asp:BoundField DataField="CreditCardLost" HeaderText="Credit Card Lost & Fraud " />
                                    <asp:BoundField DataField="FBHCP" HeaderText="Fire or Burglary Home Contents Protection" />
                                    <asp:BoundField DataField="ACRR" HeaderText="Additional Cost of Rental Car Return" />
                                    <asp:BoundField DataField="Terrorism" HeaderText="Terrorism & Hijacking " />
                                    <asp:BoundField DataField="KidnapHostage" HeaderText="Kidnap/Hostage " />
                                    <asp:BoundField DataField="EmtelCharge" HeaderText="Emergency Telephone Charges" />
                                    <asp:BoundField DataField="DMPB" HeaderText="Domestic Maid's Personal Baggage " />
                                    <asp:BoundField DataField="WeddingAppAcc" HeaderText="Wedding Apparels & Accessories " />
                                    <asp:BoundField DataField="Golfer" HeaderText="Golfer" />
                                </Columns>
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Size="X-Small"
                                    Font-Names="Verdana" VerticalAlign="Top" />
                                <EditRowStyle BackColor="#999999" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                        </div>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <h2>
                        Age Eligibility</h2>
                    <hr />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:UpdateProgress ID="updProgressAge" runat="server">
                                <ProgressTemplate>
                                    <img src="../../images/loading6.gif" border="0" alt="">
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <asp:Panel ID="pnlAge" runat="server">
                                <table>
                                    <tr>
                                        <td>
                                            General Age Eligibility
                                            <asp:Label ID="lblTAAgeId" runat="server" Visible="false" Text="0"></asp:Label>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            From
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtAdultAgeFrom" runat="server" Width="50px" MaxLength="2" Text="0"></asp:TextBox>years
                                            <asp:RequiredFieldValidator ID="rfvAdultAgeFrom" runat="server" ControlToValidate="txtAdultAgeFrom"
                                                ErrorMessage="*">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revAdultAgeFrom" runat="server" ControlToValidate="txtAdultAgeFrom"
                                                ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            To
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtAdultAgeTo" runat="server" Width="50px" MaxLength="2" Text="0"></asp:TextBox>years
                                            <asp:RequiredFieldValidator ID="rfvAdultAgeTo" runat="server" ControlToValidate="txtAdultAgeTo"
                                                ErrorMessage="*">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revAdultAgeTo" runat="server" ControlToValidate="txtAdultAgeTo"
                                                ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Accompanying child or children
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            From
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtChildAgeFrom" runat="server" Width="50px" MaxLength="2" Text="0"></asp:TextBox>years
                                            <asp:RequiredFieldValidator ID="rfvChildAgeFrom" runat="server" ControlToValidate="txtChildAgeFrom"
                                                ErrorMessage="*">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revChildAgeFrom" runat="server" ControlToValidate="txtChildAgeFrom"
                                                ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            To
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtChildAgeTo" runat="server" Width="50px" MaxLength="2" Text="0"></asp:TextBox>years
                                            <asp:RequiredFieldValidator ID="rfvChildAgeTo" runat="server" ControlToValidate="txtChildAgeTo"
                                                ErrorMessage="*">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revtChildAgeTo" runat="server" ControlToValidate="txtChildAgeTo"
                                                ErrorMessage="Enter Number value." ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:Button ID="btnSaveAge" runat="server" Text="Update Age Eligibility" Width="150px"
                                                OnClick="btnSaveAge_Click" CssClass="btn blue" />&nbsp;
                                            <br />
                                            <asp:Label ID="lblMessageAge" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                                            <asp:Label ID="lblErrorAge" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <h2>
                        Add Premium Info</h2>
                    <hr />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:UpdatePanel ID="updpnlArea" runat="server">
                        <ContentTemplate>
                            <asp:UpdateProgress ID="updProgressArea" runat="server">
                                <ProgressTemplate>
                                    <img src="../../images/loading6.gif" border="0" alt="">
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Panel ID="pnlAreaDDL" runat="server">
                                            Area/Region
                                            <asp:LinkButton ID="lnkShowCountries" runat="server" CausesValidation="false" Text="show countries"
                                                OnClick="ShowCountries"></asp:LinkButton>&nbsp; &nbsp; &nbsp; &nbsp;
                                            <asp:DropDownList ID="ddlAreaRegion" runat="server" class="text" Width="250px" AutoPostBack="true"
                                                OnSelectedIndexChanged="LoadCountriesOnSelectedIndexChanged">
                                            </asp:DropDownList>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="pnlArea" runat="server" Visible="false">
                                            <asp:CheckBoxList ID="cblCountries" runat="server">
                                            </asp:CheckBoxList>
                                            <br />
                                            <asp:LinkButton ID="lnkbtnSelectAll" runat="server" CausesValidation="false" Text="select all countries"
                                                OnClick="SelectAllCountries"></asp:LinkButton>&nbsp; &nbsp; &nbsp; &nbsp;
                                            <asp:Button ID="btnUpdateArea" runat="server" Text="Update Area" Width="100px" OnClick="btnUpdateArea_Click" />&nbsp;
                                            <br />
                                            <asp:Label ID="lblMessageArea" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                                            <asp:Label ID="lblErrorArea" runat="server" ForeColor="Red"></asp:Label>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:UpdatePanel ID="uppnlPremium" runat="server">
                        <ContentTemplate>
                            <asp:UpdateProgress ID="updProgressPremium" runat="server">
                                <ProgressTemplate>
                                    <img src="../../images/loading6.gif" border="0" alt="">
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <asp:Panel ID="pnlPremium" runat="server">
                                <table width="450px" border="1" cellspacing="2">
                                    <tr>
                                        <td style="background-color: Linen; width: 80px; text-align: center;">
                                            Duration Start (Days)
                                        </td>
                                        <td style="background-color: Linen; width: 80px; text-align: center;">
                                            Duration End (Days)
                                        </td>
                                        <td style="background-color: Linen; width: 100px; text-align: center;">
                                            Price (Premium/Contribution)
                                        </td>
                                        <td style="background-color: Linen;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <asp:GridView ID="grvPremium" runat="server" OnRowDataBound="grvPremium_RowDataBound"
                                                AllowSorting="False" AutoGenerateColumns="False" BorderColor="#E0E0E0" CellSpacing="2"
                                                GridLines="Both" CellPadding="1" OnRowEditing="grvPremium_RowEditing" OnRowUpdating="grvPremium_RowUpdating"
                                                OnRowCancelingEdit="grvPremium_RowCancelingEdit" OnRowDeleting="grvPremium_RowDeleting"
                                                AllowPaging="False" Width="450px" ShowFooter="false" ShowHeader="false">
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Premium ID" Visible="false">
                                                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblID" runat="server" Text='<%# Bind("TAPreID")%>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Duration Start (Days)">
                                                        <EditItemTemplate>
                                                            &nbsp;<asp:TextBox ID="txtDurationStart" Text='<%# Bind("DurationStart")%>' runat="Server"
                                                                Width="50px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvDurationStart" runat="server" ErrorMessage="*"
                                                                ControlToValidate="txtDurationStart">*</asp:RequiredFieldValidator>&nbsp;
                                                            <asp:RegularExpressionValidator ID="revDurationStart" runat="server" ControlToValidate="txtDurationStart"
                                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </EditItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" Width="78px"></ItemStyle>
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDurationStart" Text='<%# Bind("DurationStart")%>' runat="Server"
                                                                MaxLength="3"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Duration End (Days)">
                                                        <EditItemTemplate>
                                                            &nbsp;<asp:TextBox ID="txtDurationEnd" Text='<%# Bind("DurationEnd")%>' runat="Server"
                                                                Width="50px" MaxLength="3"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvDurationEnd" runat="server" ErrorMessage="*" ControlToValidate="txtDurationEnd">*</asp:RequiredFieldValidator>&nbsp;
                                                            <asp:RegularExpressionValidator ID="revDurationEnd" runat="server" ControlToValidate="txtDurationEnd"
                                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </EditItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" Width="79px"></ItemStyle>
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDurationEnd" Text='<%# Bind("DurationEnd")%>' runat="Server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Price (Premium/Contribution)">
                                                        <EditItemTemplate>
                                                            &nbsp;<asp:TextBox ID="txtPrice" Width="50px" Text='<%# Bind("Price")%>' runat="Server"
                                                                MaxLength="10"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvPrice" runat="server" ErrorMessage="*" ControlToValidate="txtPrice">*</asp:RequiredFieldValidator>&nbsp;
                                                            <asp:RegularExpressionValidator ID="revPrice" runat="server" ControlToValidate="txtPrice"
                                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                                        </EditItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" Width="110px"></ItemStyle>
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblPrice" Text='<%# Bind("Price")%>' runat="Server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:CommandField ShowDeleteButton="True" ShowEditButton="True">
                                                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                                    </asp:CommandField>
                                                </Columns>
                                                <RowStyle Font-Size="X-Small" Font-Names="Arial" Font-Bold="False"></RowStyle>
                                                <HeaderStyle BackColor="Linen" ForeColor="Black" HorizontalAlign="Center" Font-Size="Small"
                                                    Font-Names="Calibri" Font-Bold="False"></HeaderStyle>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:TextBox ID="txtDurationStartNew" runat="server" Width="50px" MaxLength="3" BackColor="Gainsboro"
                                                Text="0"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvDurationStartNew" runat="server" ErrorMessage="*"
                                                ControlToValidate="txtDurationStartNew">*</asp:RequiredFieldValidator>&nbsp;
                                            <asp:RegularExpressionValidator ID="revDurationStartNew" runat="server" ControlToValidate="txtDurationStartNew"
                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtDurationEndNew" runat="server" Width="50px" MaxLength="3" BackColor="Gainsboro"
                                                Text="0"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvDurationEndNew" runat="server" ErrorMessage="*"
                                                ControlToValidate="txtDurationEndNew">*</asp:RequiredFieldValidator>&nbsp;
                                            <asp:RegularExpressionValidator ID="revDurationEndNew" runat="server" ControlToValidate="txtDurationEndNew"
                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtPriceNew" runat="server" Width="50px" MaxLength="10" BackColor="Gainsboro"
                                                Text="0"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvPriceNew" runat="server" ErrorMessage="*" ControlToValidate="txtPriceNew">*</asp:RequiredFieldValidator>&nbsp;
                                            <asp:RegularExpressionValidator ID="revPriceNew" runat="server" ControlToValidate="txtPriceNew"
                                                ErrorMessage="!" ValidationExpression="^[0-9]+(\.[0-9]{1,2})?$"></asp:RegularExpressionValidator>
                                        </td>
                                        <td>
                                            <asp:LinkButton ID="lnkbtnAddPremium" runat="server" Text="Add Premium" Font-Size="X-Small"
                                                OnClick="lnkbtnAddPremium_Click" CausesValidation="true"></asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <asp:Label ID="lblMessagePremium" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                    <asp:Label ID="lblErrorPremium" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
